static final int GOTO_XYZ = 0xF1;
static final int GOTO_XYZ_MS = 0xF1;
static final int DRILL_XY_MS = 0xF2;
static final int SPINDLE_RATE_MS = 0xF9;
static final int READ_SENSOR_MS = 0xFA;
static final int DCONTROL_MS = 0xFD;
static final int RESET_MS = 0x01;
static final int DONE_MS = 0x99;

int sId =0;

Serial serialPort;

void serialConnect(){
if(serialPort == null){
serialPort = new Serial(this, Serial.list()[sId], 52000);
}
else{
}
serialPort.stop();
}



